package com.zhongjian.technologycal.mall.activity.main.bean;

import java.util.List;

/**
 * Created by wei on 2018/4/12.
 */

public class BreifBean {

    /**
     * error_code : 0
     * error_message : 成功
     * data : {"course":{"coursestarttime":"2018-04-26","coursesite":"杭州","coursebrief":"课程简介"},"coursedatalist":[{"src":"/html/courseData.html?id=1","title":"蛋炒饭资料"}]}
     */

    private int error_code;
    private String error_message;
    private DataBean data;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getError_message() {
        return error_message;
    }

    public void setError_message(String error_message) {
        this.error_message = error_message;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * course : {"coursestarttime":"2018-04-26","coursesite":"杭州","coursebrief":"课程简介"}
         * coursedatalist : [{"src":"/html/courseData.html?id=1","title":"蛋炒饭资料"}]
         */

        private CourseBean course;
        private List<CoursedatalistBean> coursedatalist;

        public CourseBean getCourse() {
            return course;
        }

        public void setCourse(CourseBean course) {
            this.course = course;
        }

        public List<CoursedatalistBean> getCoursedatalist() {
            return coursedatalist;
        }

        public void setCoursedatalist(List<CoursedatalistBean> coursedatalist) {
            this.coursedatalist = coursedatalist;
        }

        public static class CourseBean {
            /**
             * coursestarttime : 2018-04-26
             * coursesite : 杭州
             * coursebrief : 课程简介
             */

            private String coursestarttime;
            private String coursesite;
            private String coursebrief;

            public String getCoursestarttime() {
                return coursestarttime;
            }

            public void setCoursestarttime(String coursestarttime) {
                this.coursestarttime = coursestarttime;
            }

            public String getCoursesite() {
                return coursesite;
            }

            public void setCoursesite(String coursesite) {
                this.coursesite = coursesite;
            }

            public String getCoursebrief() {
                return coursebrief;
            }

            public void setCoursebrief(String coursebrief) {
                this.coursebrief = coursebrief;
            }
        }

        public static class CoursedatalistBean {
            /**
             * src : /html/courseData.html?id=1
             * title : 蛋炒饭资料
             */

            private String src;
            private String title;

            public String getSrc() {
                return src;
            }

            public void setSrc(String src) {
                this.src = src;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }
    }
}
